package com.yocard.yxyd.ui.contract;

import android.support.v4.app.FragmentActivity;

import com.amap.api.location.AMapLocationClient;
import com.yocard.yxyd.base.BasePresenter;
import com.yocard.yxyd.base.BaseView;
import com.yocard.yxyd.http.model.response.BannerBean;
import com.zaaach.citypicker.adapter.OnPickListener;

/**
 * Created on 2019/4/2.
 */
public interface OrderContract {
    interface View extends BaseView {
        void onLocationInit(AMapLocationClient locationClient);
        void getBanners(BannerBean bannerBean);
    }

    interface Presenter extends BasePresenter<View> {
        void switchCity(OnPickListener listener,FragmentActivity activity);
        void initLocation();
        void getBanners();
    }
}
